package com.mall.shop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.shop.entity.product.SpuInfo;
import com.mall.shop.feign.coupon.CouponFeignService;
import com.mall.shop.mapper.SpuInfoMapper;
import com.mall.shop.service.SpuInfoService;
import com.mall.shop.utils.R;
import com.mall.shop.vo.product.SpuInfoVO;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * spu信息(SpuInfo)表服务实现类
 *
 * @author 龙茶清欢
 * @since 2023-01-16 15:32:39
 */
@RequiredArgsConstructor
@Service("spuInfoService")
public class SpuInfoServiceImpl extends ServiceImpl<SpuInfoMapper, SpuInfo> implements SpuInfoService {

    private CouponFeignService couponFeignService;

    public SpuInfoVO getSpuInfo() {
        R<Object> page = couponFeignService.findByPage();

        return new SpuInfoVO();
    }
}

